package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 题目选项
 * </p>
 *
 * @author hpiggy
 * @since 2024-06-13
 */
@Data
@TableName("survey_topic_options")
@ApiModel(value = "SurveyTopicOptions对象", description = "题目选项")
public class SurveyTopicOptions implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.NONE)
    private Long id;

    @ApiModelProperty("题目id")
    private Long topicId;

    private String name;

    private Integer sort;

}
